#pragma once


class CConnectedComponent
{
public:
	CConnectedComponent(void);
	~CConnectedComponent(void);

	ConnectedComponent *	GetConnectedComponent(IplImage *pImage);

private:
	int						MarkImage( WORD *mask,IplImage *img1);
	int						GetConnectedComponentEdge(ConnectedComponent *pConnectCom,IplImage *pImage);
};
